Makes a run of the actor picture's colors take each other's places, one step every few frames, so a light seems to travel along them (a pulse in a vein). actor_cycle(72, 8, 4) steps colors 72 to 79 every 4 frames; actor_cycle(0, 0, 0) stops it.
Game Boy: not available
Game Boy Color: not available
Sega Genesis: not built yet
On other consoles this differs: see Side by side and How the consoles differ.
actor_cycle(first, count, frames)| Name | Type |
|---|---|
first | int |
count | int |
frames | int |
Nothing.
Makes a run of the Background Actor picture's colors take each other's places, one step every few frames, so a light seems to travel along them: a pulse in a vein. It does nothing in a room that has no zoomable background.
first is a color number of the picture (the Paint tab shows them), count is how many colors in a row, 2 to 32, and frames is how many frames between steps, 1 or more. The colors rotate in order, the last becoming the first. Paint the veins with those color numbers and nothing else, because every pixel of those colors cycles. It costs a few palette writes on the frames it steps. It stops when the picture is swapped or the room changes; actor_cycle(0, 0, 0) stops it.
// Create event of the boss: the eight vein colors, 72 to 79, pulse every 4 frames.
actor_cycle(72, 8, 4);A bright run travels down every vein of the picture.
A no-op in a room that has no zoomable background (set the room's Zoomable background to an actor picture). first is a color number of the picture (the Paint tab shows them), count is 2 to 32 colors in a row, frames is 1 or more. The colors rotate in order, the last becoming the first. Paint the veins with those numbers and nothing else, because every pixel of those colors cycles. It costs a few palette writes on the frames it steps, and stops when the picture is swapped or the room changes.